<!DOCTYPE html>
<html>

	<head>
		<meta charset="UTF-8">
		<title></title>
		<link rel="stylesheet" type="text/css" href="../js/layui/css/layui.css" />
		<link rel="stylesheet" type="text/css" href="../css/common.css" />
		<script src="../js/jquery.min.js"></script>
		<script src="../js/layui/layui.js"></script>
		<script src="../js/common.js"></script>
	</head>

	<body>
		<div class="m-scroll" style="height: 100px;border: 1px solid #007DDB;">
			<p style="height: 200px;">111</p>
		</div>
		<br /><br />
		<div>
			<button id="btn31">动态添加模拟滚动条</button>
		</div>
		<br /><br />
		<div id="dom3"></div>
		<script type="text/javascript">
			$(function() {
				$('#btn31').click(function() {
					$('#dom3').append('<div class="m-scroll" style="height: 100px;border: 1px solid #007DDB;"><p style="height: 200px;">111</p></div>');
				});
			});
		</script>
	</body>

</html>